using System;
using Glade;
using Gtk;

namespace DreamPark
{
	public class Screen_TicketNonValide
	{
		private ControleurEntree ctrlEntree;
		private int acces;
		
		public Screen_TicketNonValide (ControleurEntree ctrlEntree, int acces)
		{
			Glade.XML gxml = new Glade.XML (null, "DreamPark.FenetreTicketNonValide.glade", "FenetreTicketNonValide", null);                    
            gxml.Autoconnect (this);
			
			this.ctrlEntree = ctrlEntree;
			this.acces = acces;
		}
		[Glade.Widget]
		Dialog FenetreTicketNonValide;
		
		public void BoutonOK_clicked_cb(System.Object obj, EventArgs e) {
			Screen_RetraitVehicule fenetreRetraitVehicule = new Screen_RetraitVehicule(ctrlEntree, acces);
			FenetreTicketNonValide.Destroy();
		}
	}
}

